package cn.study.luckydomain.gateway;

import cn.study.luckyclient.dto.query.AwardListByParamQuery;
import cn.study.luckydomain.award.AwardEntity;
import com.baomidou.mybatisplus.core.metadata.IPage;

public interface AwardGateway {
    AwardEntity save(AwardEntity awardEntity);
    IPage<AwardEntity> page(AwardListByParamQuery awardListByParamQuery);

    int deducation(Long id, int i);
}
